docs: def delete(self):
          """
          Remove the document and all of its bundles from ProvStore.
  
          .. warning::
             Cannot be undone.
          """
          if self.abstract:
              raise AbstractDocumentException()
  
          self._api.delete_document(self.id)
          self._id = None
  
          return True