Widgets API change.

Function convertKindToView changed to convertKindToViewId