First full parsing of the document.