Add new modifications to finish the document.