Refactor Formatter code a bit.
Refactor IncrementedSet a bit.