Updated example code in readme.