Replace settings with data.settings.