Moved settings to dictionary.