Remove TWidget.getType. Unused.