Added refresh control to agent.