Implement formatter instead of writer