Optimization. Do not save to disk when saving flags.