Deal with deprecations in mongo-java-driver v2.12

Fixes #1579 
Just checking but, if a user is using this deleted method, will the one that takes a `Mongo` instance take over or will it be a compiler error?