Changed from Input/Output to a single formatter.
Updated for new formatter class structure.