Remove deprecated Twig classes and aggregate extensions