when defining a writer.