Fixes to grammar and code snippets.