Add missing @Override annotations.
Clear a lot of compiler warnings because of unparameterized types.
Remove unused imports.