@param repository  Stores fetched objects and refs in this repository.