Made the routes more RESTful.