1. Add in Type field during reading, not used in the final output.
2. Add in code book.