More logging when registering stubs