Plugin Registration changes for Mongoose with some edits as well