Implement a simple version of the Hateoas.