Adds support for mongodb