I think you're right. For some reason Idea was not showing me the unused imports.