             super(attrs, options)
 
         initialize: ->
+
             @on 'request', ->
+                @pending()
                 c.publish c.CONTEXT_SYNCING, @
 
             @on 'sync', ->
                 @resolve()
                 c.publish c.CONTEXT_SYNCED, @, 'success'
 
-            # If the sync fails on the server
             @on 'error', ->
+                @resolve()
                 c.publish c.CONTEXT_SYNCED, @, 'error'
 
-            # Notify subscribers the this object has changed
             @on 'change', ->
                 c.publish c.CONTEXT_CHANGED, @
 
-            # Pause syncing with the server
             c.subscribe c.CONTEXT_PAUSE, (id) =>
                 if @id is id or not id and @isSession()
                     @pending()
 
-            # Resume syncing with the server
             c.subscribe c.CONTEXT_RESUME, (id) =>
                 if @id is id or not id and @isSession()
                     @resolve()
 
-            # Clear all nodes from the context
             c.subscribe c.CONTEXT_CLEAR, (id) =>
                 if @id is id or not id and @isSession()
                     @clear()

define [
    '../../core'
    './nodes'
], (c, nodes) ->

    contextNodeModels =
        branch: nodes.BranchNodeModel

                else
                    @root.set(attrs, save: true)
                delete resp.json
            super(resp)

        save: ->
            @root.save()
