Properly initialize type variable as well.