Small fix related to the replacement of the writer with listWriter.