Added getSettings method