Added terminal removal command.