     window.localStorage.setItem @key, value
 
 
-  # #### Delete
-  # -----------
+  # #### Clear
+  # ----------
 
-  # Delete data from localStorage.
+  # Clear data from localStorage.
 
-  delete: ->
+  clear: ->
     window.localStorage.removeItem @key
 
 

    document.cookie = "#{@key}=#{value}; #{options.expires}; path=/"


  # #### Delete
  # -----------

  # Delete a cookie.

  delete: ->
    Cookie.set @key, '', {expires: -1}



  # ```

  alias: (newIdentity, deleteStoredID = true) ->
    @_storage.clear() unless deleteStoredID is off
    super newIdentity


