Add state_events method