MongoDB adapter, first cut.