Added missing required flag setter