Remove class on destroy.