Edit the Document.