Fix 'unused import' warning.

Fixes #6630