Remove unused code.
Move all imports to top of the file.