Remove unused flags.