Formatted the document.