Moved compiler pass registration to getCompilerPasses method in TwigExtension