Remove a deprecation warning by accessing the settings as a dict