Problem with lexically scoped type variables.