add type Hash due to breaking changes in API