If serialization is the argument, the problem with that is the custom level class would have to be on the unmarshal side, which is likely problematic.
With the existing code there's no issue with marshalling/unmarshalling custom levels.