make `resource_class` a hard requirement for ResourceCollection