Fix TargetingRegister.wrap