Renamed getModelOrCollectionName and handle module not found in client