ContinuationEvent is now a nested class.