Modified twig functions...