Added type diagram