Clean up old 'required' flags.