Some refactoring of insert/delete row/column reference methods