Remove references to send_event_level and add_state_level