cleanup + tuple.getTypeArray
made AbstractTuple unmodifiable