Is there a SDK method that is called when a study is removed from a chart? Need to clean up resources but only want to do this when the study is actually removed. I tried public void destroy() (which is indeed called when the study is removed) but, for some strange reason, it is also being called after all historical data has been processed by the calculate method. I see we have an onLoad() method....is there a onUnLoad() counterpart?