Documentation improvements and typo fixes.