initSession, endSession, logEvent, endTimedEvent.