Fix some code inspection errors.