Performance improvements for Symfony 2.3