Add ranged classes to constrain values for settings.