Clean up checkstyle and findbugs errors.