[Ready] Item access refactor

See #9517
That function is probably not needed because one can use the operator[] instead.

And the operator[] should be const, as it does not modify anything.