Has to work with symfony 2.3 aswell.