Updates for new TwigRenderer.