A few handy extensions for Twig.