resource_class added to authorizer through authorizer wraper