MongoRepositoryBase improvements