Disable mongoose.