Don't depend on deprecated code from Symfony & Twig