Code, comment, and documentation typo fixes.