Fix 'deleting pointer to incomplete type' warning.