loadSettings() is not necessarily the best name for this. It does more than that.