* Fix compilation error due to agent.h code changes