Type hint was removed for symfony 2.1 compatibility