Building a wrapper around npm mongodb.