Added destroy feature for instance

Destroy unbinds event handlers from document.