Added destructor. Doesn't work.