Restructure a bit the document.