Added destructor.