#write_snapshot no longer takes arguments