Add local_settings support