     findOne: obj.findOne
 
   local_session = new ReactiveDict()
-
   for method of original
     do (method) ->
       obj[method] = (selector, options) ->

  return obj

TAPi18n.subscribe = (name) ->
  # parse arguments
  params = Array.prototype.slice.call(arguments, 1)
  callbacks = undefined
  if params.length
    lastParam = params[params.length - 1]
    if (typeof lastParam == "function")


  return {
    ready: () ->
      local_session.get("ready")
    stop: () ->
      subscription_computation.stop()
    _getSubscription: -> subscription
  }
