Replace missing item_groups and fix missing newline.