Extends Twig function with a SimpleFunction