Remove deprecated use of getSettings()