Added support for symfony 2.2