Added new Twig functions and filters