Added setters to CustomKeyPair.