Removal of bath residues from the surface of spent anodes