Tuple2d classes