Fix code examples (fixes #4)
Merge pull request #11 from travisjeffery/fix-code-examples

Fix code examples (fixes #4)