Fix code example in docs
Merge pull request #7 from jgable/fixDocs

Fix code example in docs