Removed WriterFunc, using nio.WriterFunc