Speedup instantiation of frozen slotted classes.