Fix PMD warnings about imports.