Cleaning up static analyzer warnings.