Adds the Hash class.