Add wrapper for mongoose.