Add clear event method