Branch of Closure with some patches to speed up hashing