code: function(category) {
  			var settingsMap = this.settingsMap;
  			var pids = typeof category === 'string' ? this.categories[category] : Object.keys(settingsMap); //$NON-NLS-0$
  			if (!pids) {
  				return [];
  			}
  			return pids.map(function(pid) {
  				return settingsMap[pid];
  			});
  		}
docs: Returns settings.
  @param {String} [category] If passed, returns only the settings in the given category. Otherwise, returns all settings.
  @returns {orion.settings.Setting[]}