Update private key handling.
0.3.1