Update example in README to the new simplified interface for enums