Added basic support for a formatter class