Add mongoose plugin