Remove destructor since it causes problems on some systems