Add unbindEvents method to undo the bindEvents