Support Symfony >2.4