bound mongo callbacks to the db object for proper error handling.