Added FlagSet merge feature.