mergepolicy now takes a writer.