Modernize for 7.2.x

* no more 2.9.x
* drop deprecated code
* fix deprecation warnings
Addressed in 590114e.