Change example code, following 0.8.x/0.9.x API changes
Merge pull request #11 from alexandernst/master

Change example code, following 0.8.x/0.9.x API changes