Added suporte twig v1.12.* or better