Added triggerExit event.