This should be `getResourceType`, since it returns a ResourceType instance