   @secure =(fn)->
     fn.isSecurityEnabled = yes
     fn
-  
+
   {@asynchronizeOwnMethods} = require './util'
-  
+
   {BongoError}    = require './errortypes'
 
   Client = require './client'
-  
+
   @throwIt =(it)-> throw it if it?
 
   constructor:(options)->

      if 'function' is typeof method
        fn = method
      else if ctx? and 'string' is typeof method
        fn = ctx[method]
      return  unless fn?
      if fn.isSecurityEnabled
        bongo.fetchClient sessionToken, userArea, (client)->

        when 3 then 'service'
        when 4 then 'event'
        else        "additionalProperty#{i-4}"

    parseRoutingKey = (routingKey)->
      routingKey.split('.').reduce (acc, edge, i)->
        acc[getEdgeMeaning i] = edge
