Removing generateHash, which isn't used anymore.