Fixing regression in `clear`