Add types for lifecycle events.

This still mentions PreFailure