Added type inference classes.