Added function to unbind all events