Reorder and tidy documentation.