Added checks for RESTful method parameters