Change WriterUtil to use default methods.