OK, I added code to initialize `next_id_`