Use resource name instead of resource class