Wrote some Snapshot code.