Namespace fix for Twig classes