class Encode + sub class EncodeD1C added.