Add support for private keys