Proxy extension for twig