Warnings and unused imports deletion