Removed old log messages and unused imports.