 # Inlcuding, but not limited to, data transformations and migration.
 class store.Updater extends utils.Class
 
-  # Create a new instance of `Updater` for `namespace`.
-  constructor: (@namespace) ->
-    # Indicate whether or not `namespace` existed initially.
-    @isNew = not @exists()
+  # Create a new instance of `Updater` for `namespace`.  
+  # Also indicate whether or not `namespace` existed initially.
+  constructor: (@namespace) -> @isNew = not @exists()
 
   # Determine whether or not this namespace exists.
-  exists: ->
-    store.get("updates.#{@namespace}")?
+  exists: -> store.get("updates.#{@namespace}")?
 
   # Remove this namespace.
-  remove: ->
-    store.modify 'updates', (updates) =>
-      delete updates[@namespace]
+  remove: -> store.modify 'updates', (updates) => delete updates[@namespace]
 
   # Rename this namespace to `namespace`.
-  rename: (namespace) ->
-    store.modify 'updates', (updates) =>
-      updates[namespace] = updates[@namespace] if updates[@namespace]?
-      delete updates[@namespace]
-      @namespace = namespace
+  rename: (namespace) -> store.modify 'updates', (updates) =>
+    updates[namespace] = updates[@namespace] if updates[@namespace]?
+    delete updates[@namespace]
+    @namespace = namespace
 
   # Update this namespace to `version` using the `processor` provided when
   # `version` is newer.
-  update: (version, processor) ->
-    store.modify 'updates', (updates) =>
-      updates[@namespace] ?= ''
-      if updates[@namespace] < version
-        processor?()
-        updates[@namespace] = version
+  update: (version, processor) -> store.modify 'updates', (updates) =>
+    updates[@namespace] ?= ''
+    if updates[@namespace] < version
+      processor?()
+      updates[@namespace] = version
 
 # Configuration
 # -------------

    encodeURIComponent JSON.stringify data

  # Clear all keys from `localStorage`.
  clear: ->
    delete localStorage[key] for own key of localStorage

  # Determine whether or not the specified `keys` exist in `localStorage`.
  exists: (keys...) ->

  # pairs.  
  # If the value is currently `undefined`, assign the specified default value;
  # otherwise reassign itself.
  init: (keys, defaultValue) -> switch typeof keys
    when 'object'
      @init key, defaultValue for own key, defaultValue of keys
    when 'string' then @set keys, @get(keys) ? defaultValue

  # For each of the specified `keys`, retrieve their value in `localStorage`
  # and pass it, along with the key, to the `callback` function provided.  
  # This functionality is very useful when just manipulating existing values.
  modify: (keys..., callback) -> for key in keys
    value = @get key
    callback? value, key
    @set key, value

  # Remove the specified `keys` from `localStorage`.  
  # If only one key is specified then the current value of that key is returned
