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


  # Properties that have been set
  # as to not save default values in DB
  setProps: []

  db: null
  projectSettings: null


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

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

  isCurrent: =>
