Change #export_state to #save_state.
Add #restore_state.
Change #send_values to #enqueue_values.