Some slight modifications to the crypto protocol.