Added method getSettings.