Handle all cases in setting flags.