   Meteor.publish Houston._houstonize(name), func
 
 Houston._setup_collection = (collection) ->
-  return if collection._name in collections
+  return if collection._name of ADDED_COLLECTIONS
+
   name = collection._name
   methods = {}
   methods[Houston._houstonize "#{name}_insert"] = (doc) ->

root = exports ? this
hidden_collections = {'users': Meteor.users, 'meteor_accounts_loginServiceConfiguration': undefined}
# TODO: describe what this is, exactly, and how it differs from Houston._collections.
collections = {}


Dummy = new Meteor.Collection("system.dummy")  # hack.


    Houston._collections.collections.update c._id, {$set: count: collection.find().count(), fields: fields}
  else
    Houston._collections.collections.insert {name, count: collection.find().count(), fields: fields}
  ADDED_COLLECTIONS[name] = collection

sync_collections = ->
  Dummy.findOne()  # hack. TODO: verify this is still necessary
