You're right, it's an imperfect solution, but it is consistent with other solutions - https://github.com/symfony/symfony/blob/2.2/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L539