Made ReadIndex a method of the Index type