Cleaned up IterationAgent.
Merged master.