Decouple mongoose fixes #4