Minor fixes for warnings.