Further updates to code example in README.