Initial implementation of Snapshot/Restore API