Added creation of TwigExtension