There is an issue with serializing: the serialized constant and the unserialized constant are not the same. An alternative is do write code that replaces the deserialized object with the constant. You can see how that is done for KLabelConstant.