Update sample to use new Component API.