Update example in README to reflect new type model