Moved Twig function to include