Completing the document