Add types for lifecycle events.

+1 please make tags & names consistent...