removed unused misc/AgentImpl