       @sendCreateMessage _.pluralize(_.uncapitalize(@name)), document, callback
       return instance
 
-
     register: (liveDocumentClass) ->
       classes[liveDocumentClass.name] = liveDocumentClass
 

    # eventEmitter, when the client has received the results call callback

    sendReadMessage: (name, query, callback) ->
      socket.emit "LiveDocumentRead", name, query, callback

    # **sendCreateMessage** *private*
    #

requestCallbackNonce = 0
define ["underscore", "lib/inflection", "lib/socket"], (_, inflect, socket) ->
  
  _.mixin(inflect)
