Fixing static analyzer issues.