Update README.md

Fixed incorrect method definition.
Merge pull request #3048 from shanab/master

Update README.md