ui/Defs: updated hash types and functions.