Added MongoDB support.