Adding support for indices in interpolation.