Changing how MongoDB collections are accessed from the driver to avoid an error from an evolving API