Finish Adding Markup to the Document