Removed the need to pass mongoose