Update for _get_state() API change.