Do we need to set `next_id_` properly?