Created base class for chooser macros.