Basically a visual inspection — if I could see yellow glue I scraped it away. If I recall correctly, I used a plastic spudger for most of it and a flat head screwdriver for uncooperative spots. No chemical baths, just prepping the surface with 99% IPA.
edit: It's worth noting, applying the RTV...