new way of creating extensions for twig