Removed unused imports. Added some warnings to base class.