Remove index check from operator[] and add at() methods with index check.