This is part 1 of the right fix for the directive getting removed. This pass has the wrong order, an it should be running sooner before the directive is processed by the default processor.