Refactored Ant.