Change example to use mode options.