Restructiring the document.