Fix code sample in Readme

For consistency with other code.