Cleaned-up version of crodas/ActiveMongo