Cleanup mongodb support