If APISetting is not undefined, meaning it has been configured, should it not supercede the deprecated config key?