Various functions on tuples
