Unfinished work of updating protocol API to the new UHASH API.