Added some Twig convenience methods