         # TODO: rename to "save"
         persist : (callback) ->
             json = JSON.stringify(@_toJSON())
+            console.log("Persisting: #{json}")
             FS.writeFile @_dbPath(), json, (err) ->
                 if err
                     console.log(err)

    class Model
        # seed is a JSON.parse'd object loaded from disk.
        constructor : (seed) ->
            @_persistentProperties = []
            info = null
            ctor = null

            for key, val of schema
                if typeof val == 'function'
                    ctor = val
                    persistObj = persist
                else
                    # options object style.
                    ctor = val['type']
                    persistObj = val['persist']
                if seed?[key]
                    this[key] = new ctor(seed[key])
                else
                    this[key] = new ctor()
                if persistObj
                    @_persistentProperties.push(key)
                    if this[key].subscribe?
                        this[key].subscribe (val) =>
