Use enums instead of magic numbers for fields of a tuple.