 tryStringify = (value) ->
   if value? then JSON.stringify value else value
 
-# Storage setup
-# -------------
+# Store setup
+# -----------
 
-store = window.store =
+store = window.store = new class Store extends utils.Class
 
   # Public functions
   # ----------------

        processor?()
        updates[@namespace] = version

# Initialize updates.
store.init 'updates', {}
        localStorage[keys] = tryStringify value
        oldValue

# Public classes
# --------------

# `Updater` simplifies the process of updating settings between updates.
# 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) ->
