Fixed code example.
Merge pull request #1148 from thedrow/patch-1

Fixed code example.