suppress a bunch of deprecation warnings