Fix class loaders being broken after reload.