Cleanup ; Optimized imports.

Semicolons, parentheses, dropped unused imports (PEP-8 guidelines also advise to put them on separate lines).