Added type calculator.