Make pret-lam work for \type{} as well.