Generated code from kms-core 22af027e0c1f3e3a10526bfcee30d735d6553ac9