Added more Twig functionality