Introduced "stateChange" event