Right handling of tuple encoding.