Allow Twig::render to render templates correctly