Simplified destructor.