Suppress warnings and remove unused imports