Isn't state.actions just a list of strings? So you would need to grab the actual actions.