Tuple functions.