Although this is safer, existing client code could feasibly expect the NPE and therefore this is technically a backwards breaking compatible change as this would now start passing null's into the Mongo driver. Happy to accept as is, but it would go into the version 3.x mongo persistor with full Javadoc as opposed to 2.2.0, so it might be better to leave the method as is and submit a separate issue for the NPE handling.