Remove unused imports from viewers