Simplify the twig extension