Signature verification, fix keypair constructor, cleanup.

Avoiding additional curly braces.