Remove unused variables in TupleStream