Fix to prevent gcc warnings.