Update imported classes so that it works with newer versions of mongo-java-driver. Assign a lazy decoder.