Sticks and bonds: Surface-modifying agents can be functionalized with ionic groups that enable high exhaustion from a processing bath through electrostatic self-assembly. Using cyclic oniums as the ionic functional groups, thermally induced ring-opening converts the ionic bonds to covalent bonds, thus lending permanency to the modification of the surface.