Add mongodb support.