security: In KeyClass, simlify the enum values.