utility classes for writers