Updated the example in the README to match the code in the actual class files.