Remove unused imports.
Fix some checkstyle errors.