Mongo class is deprecated