Added Exit class.