adds hypermedia functionality