remove unused restful methods