Fix inspection warnings.