Use load_settings instead of encode/decode_value