Add support for the various discount flags.