Add checking for signature hashes