Added Twig extension to core