Deleting the methods is needed for #22567 to pave the way to make it easier to implicitly call the sync_all member function.
Backport of core#23207.
Includes a conversion leftover to interface_zmq, but not the other test changes that don't apply to us.