Allow wiping cache of subclasses of given class