Symfony 2.5 modifications