Cleanup the document heading and SotD section