Tidy management of public/private keys.