Rename chunkType to type