Fix hasHash to use new API