Support for Symfony 2.3+