Add example for widgetInstance()