Added the widget support.