Trivial documentation fixes.
Fix API examples
Typo fix
Merge pull request #418 from bradh/faqdocs

Trivial documentation fixes.
Merge pull request #424 from bradh/patch-2

Fix API examples
Merge pull request #425 from bradh/patch-3

Typo fix