Twig template loading fixes