Fixed warnings.