Add twig extension