Suppress warnings: removed unused imports, add @SuppressWarnings("rawtypes") for non-generalized overridden methods.