Remove global variables from harpoon-agent.