Moved for body to new method called create_resource_methods