Eliminate some PMD warnings.