* Improve mongoose updateatibility and compatibility. * Introduce method for applying schema plugins.