code: def remove(self, document_id, namespace, timestamp):
          
          try:
              entry = self.doc_dict[document_id]
              entry.doc = None
              entry.update(namespace, timestamp)
          except KeyError:
              raise OperationFailed("Document does not exist: %s" % document_id)
docs: Removes the document from the doc dict.