Added type data structure.