Support encoding/decoding members of superclasses