Updated example code in README.rst.