Add preloading for non-anonymous classes.