Fixed inspector warnings.