Modifying endpoints to be more RESTful.