Adding flag model.