Added widgetDef#insert method.