Minor changes to support key management in zcurve