   save: =>
     @db ?= new DB()
     props = {}
-    for key, value in @setProps
+    for key, value in @propsToSave
       props[key] = @props[key]
 
     if @props._id

    @props = @getDefaultProps()
    if props
      for key, value of props
        @setProps.push(key) unless key in @setProps
        @props[key] = value

  getDefaultProps: ->


  set: (key, value) =>
    @props[key] = value
    @propsToSave.push(key) unless key in @propsToSave
    @save()

  unset: (key) ->
    unset(@props[key])
    unset(@propsToSave[key])
    @save()

  isCurrent: =>
