Added a destroy() method to remove event bindings