Remove the mongodb dependency