Fix wrong api in readme.
Merge pull request #7 from ybonnel/master

Fix wrong api in readme.