Modified how hashes for patches and variations work.