Move rowIndex to look ups in the function calls. Move initialized values to the initializer rather than on the prototype.