fixed typos in methods names.
Merge pull request #1 from danyshaanan/master

Fixed typos in methods names in examples.