Adding destroy method to elements