Added conversions for tuples and indices