In the latter embodiment the mixture of types of structural units may be derived from reaction of nucleophile-containing polymer or monomer with either one or more than one type of triazine-comprising capping agent, for example a mixture of a monofunctional triazine-comprising capping agent and a difunctional triazine-comprising capping agent.