Renamed widgetDef.priority to widgetDef.upcastPriority.