cleaned up DocumentService.add_document()