Correctly setup mongoose initializer