Added exitPresentation and related