Removed some compiler warnings (mostly unused imports).