Added documentation to UserData.

Changed visibility of addSetting to private. Settings should be added
through changeSetting.