MVC development - twig extensions