fix typo hast -> hash
Merge branch '21-misc-cleanup' into 23-applydefine