Add support for Symfony 2.5