Switched the mongo driver to use deferred handlers instead of callback parameters