Trying to patch stubs before unloading