Rename repositoryWithModelClass to repositoryWithClass