Using pajeng type enum on header generation and reader