Switch to operator[] for returning a reference to one variable.