Implement set_document_revision, set_relationship