Added HATEOAS support.