Decoupled cell_index from widget model code.