Fixed the getDefaultSettings method to return a new object instead of a reference to the settings object.