Remove unused type variable