Remove unused UI code