Restructuring local_settings a bit.