Added UiConstructor to CustomWidget.