Fix debug warnings.