Better naming on twig extension function