Finalized the Document upload.