add Twig extension