make it easier to override ObjectRepositoryProvider