Added support for all Symfony2 versions