Function removePublicAddressesMapper