 newAdapter = (type, properties) ->
   # Controls and warning about builtinAdapters override
   throw new Error "Adapter's type undefined" if not type
-  if not adapters[type] 
+  if not adapters[type]
     adapters[type] = require type
   else if typeof adapters[type] is "string" 
     adapters[type] = require adapters[type]

newActor = (type, properties) ->
  # Controls and warning about builtinAdapters override
  throw new Error "Actor's type undefined" if not type
  if not actors[type] 
    actors[type] = require type
  else if typeof actors[type] is "string" 
    actors[type] = require actors[type]

    actors[type] = actor

withAdapter = (type, adapter) ->
  throw new Error "Adapter's type undefined" if not type
  throw new Error "Adapter undefined" if not adapter
  if adapters[type]
    logger.warn "Adapter '#{type}' already defined"
  else
