Fixed all the findbugs warnings.