Support for Symfony2.3