     "locations": locations
     "index": index
     "Collections": Collections
-    "Config" : Config
+    "Config": Config
   }

      else
          throw Error("improperly implemented collection: #{modulename}")

    return mod_cache[modulename].Collection

  Collections.register = (name, collection) ->
    collection_overrides[name] = collection


    modulename = locations[typename]

    if _.isArray(modulename)
      [modulename, submodulename] = modulename
    else
      submodulename = null

    if not mod_cache[modulename]?
      mod = require(modulename)

