Add send_events/1 and send_states/1