Write as.list.idf (needed to make summarize work)