Added support for hiding selected options.