Make mongoose a dependency.
Fix code sample.