Fix module reloading.