Adding basic destructors to plots_class and stock_analysis_class.