Removing Symfony 2 and HATEOAS references.