 
 
     instances = for cls in @_connectedClasses
-      name = cls.name.charAt(0).toLowerCase() + cls.name.slice(1)
+      name = cls.className.charAt(0).toLowerCase() + cls.className.slice(1)
       @[name] = new cls(@)
 
     @_init()


  @connect: (cls) ->
    return unless typeof cls is 'function'
    @::_connectedClasses.push(cls)
    @[cls.className] = cls if cls.className




class Plugin extends Module

  @className: 'Plugin'

  opts: {}

