Close GH-971: Quiet down deprecation warnings.