Added twig simple functions