Changed request resource type can be a function as well