Removed StateChange enumeration as it is redundant with the actual event type.