Fix some typos, expand documentation.