Added verification for signing.