Added ability to set resource methods to any