Update examples in documentation.

Fixes #23.