Hook up mongoose.