Wrapping the index in an opaque type.