Add TableInput and RelationalInput to WidgetFactory.