Removes commented code from Agent.