Restructured main HTML document.