Adding methods and example to readme.md.