Small fixes for warnings.