agree with you, but my point is why do you needed? the ```readObject``` logic is independent of the ```EnumSet``` type.