Get rid of deprecations.