     else
       @setTitle('untitled')
 
-  # Sets the application's title.
-  #
-  # Returns a {String}.
+  # Public: Sets the application's title.
   setTitle: (title) ->
     document.title = title
 
-  # Retrieves all of the application's {Editor}s.
-  #
-  # Returns an {Array} of {Editor}s.
+  # Private: Returns an Array of  all of the application's {Editor}s.
   getEditors: ->
     @panes.find('.pane > .item-views > .editor').map(-> $(this).view()).toArray()
 
-  # Retrieves all of the modified buffers that are open and unsaved.
+  # Private: Retrieves all of the modified buffers that are open and unsaved.
   #
   # Returns an {Array} of {TextBuffer}s.
   getModifiedBuffers: ->

    themes: ['atom-dark-ui', 'atom-dark-syntax']
    projectHome: path.join(atom.getHomeDirPath(), 'github')

  ### Internal ###
  @acceptsDocuments: true

  @content: (state) ->
    @div id: 'root-view', =>
      @div id: 'horizontal', outlet: 'horizontal', =>
        @div id: 'vertical', outlet: 'vertical', =>
          @div outlet: 'panes'

  @deserialize: (state) ->
    new RootView(state)

  initialize: (state={}) ->
    if state instanceof telepath.Document
      @state = state


    _.nextTick => atom.setFullScreen(@state.get('fullScreen'))

  # Private:
  serialize: ->
    state = @state.clone()
    state.set('panes', @panes.serialize())
    state.set('fullScreen', atom.isFullScreen())
    state

  # Private:
  getState: -> @state

  # Private:
  handleFocus: (e) ->
    if @getActivePane()
      @getActivePane().focus()
