Renamed the RESTMethod class to a more appropriate name.