Fix FindBugs warnings.