DocRepo.new is protected from bad instantiation.