 
     @resetSaveInterval 5
 
+  # Emits the 'save' event so that 'brain' scripts can handle persisting.
+  #
+  # Returns nothing.
   save: ->
     @emit 'save', @data
 
+  # Emits the 'close' event so that 'brain' scripts can handle closing.
+  #
+  # Returns nothing.
   close: ->
     clearInterval @saveInterval
     @save()
     @emit 'close'
 
+  # Reset the interval between save function calls.
+  #
+  # seconds - An Integer of seconds between saves.
+  #
+  # Returns nothing.
   resetSaveInterval: (seconds) ->
     clearInterval @saveInterval if @saveInterval
     @saveInterval = setInterval =>

        result = @brain.data.users[k]
    result

  run: ->
    @adapter.run()

class Robot.Adapter
  constructor: (@robot) ->

  # Public: Raw method for sending data back to the chat source.  Extend this.

    @enableSlash = false

    Adapter = require "#{adapterPath}/#{adapter}"
    @adapter = new Adapter @

  # Public: Adds a Listener that attempts to match incoming messages based on
  # a Regex.
