Add types for lifecycle events.

"If the Handler fails or the timeout expires..."