public function remove(Document $document, array $options = [])
    {
        $documentId = $this->getDocumentId($document);

        $revision = $this->getRevision($document);

        return $this->removeById($document, $documentId, $revision, $options);
    }