Fix the ResourceMetadataManager number of arguments.