Adding in dynamic actions based on state.