This hurts my head a little.  Is the todo implying that the plan is to replace this with something less mongo-specific eventually?