         buffer.onDidDestroy => @removeBuffer(buffer)
 
     @setPath(path)
-
-  serializeParams: ->
-    path: @path
-    buffers: _.compact(@buffers.map (buffer) -> buffer.serialize() if buffer.isRetained())
-
-  deserializeParams: (params) ->
-    params.buffers = params.buffers.map (bufferState) -> atom.deserializers.deserialize(bufferState)
-    params
 
   destroyed: ->
     buffer.destroy() for buffer in @getBuffers()


    deferred.promise

  buildEditorForBuffer: (buffer, editorOptions) ->
    editor = new Editor(_.extend({buffer, registerEditor: true}, editorOptions))
    editor

    repoName = repoName.replace(/\.git$/, '')
    path.join(atom.config.get('core.projectHome'), repoName)

  ###
  Section: Construction and Destruction
  ###

  constructor: ({path, @buffers}={}) ->
    @buffers ?= []

