Add types for lifecycle events.