Code cleanup for agent_route.h and agent_route.cc