README example works with current API.
Merge pull request #1 from natesilva/update-readme

README example works with current API.