Updating protocol API to the new UHASH API.