Remove class command when removing a command