Implement methods insert_one_cell and insert_cells.