Rename cellType to type