Removed rwecursion guard from make_modules_persistent. Should not be necessary.