Add support for custom formatters