Removed the need to pass Mongoose to the module