Clean CommandBase and JagPair