Too aggressive polling of the class cache and some unnecessary casts and
other unnecessary code removal
Even better cache cleaning, we *can* know that some class has probably gone
out of scope when the soft reference goes away