added two convenient methods for setting/getting the DefaultRepository