Changed SETTLE_PREVIOUS to CLOSE_PREVIOUS, promoted previousClose() to Session (sorry Andrei)