Fix some typos and add some new doc sections.