Reaction of formaldehyde with proteins; cross-linking of amino groups with phenol, imidazole, or indole groups.