Remove unused ScopedTypeVariables