Adds get and set w.r.t. data index for Vector