Added hash code to Signature class