Add simple support for mongodb