Do ref matching on the sender side rather than on receiver