Static, handled exceptions, removed unused imports.