Support unloading in static pointers.