Fixed a 'hash' constructor bug.