Moves to the end of the document.