Update compatibility with Symfony 2.3