Adding mongodb dependency.