Support converting destroy_all.

@flyerhzm please review.