Added dump and restore.