Adds the config class.