Corrections to code example in README.md