Remove portions of code from JoyTabWidget.