Fixes Eclipse-specific compile-time errors. Fixes warnings about unused imports.