Adds row and column accessor methods.