This could easily move into the AgentState.