int restore_state (std::string snapshot_name);
int save_template (std::string template_name, bool replace_existing = false);
int save_history (std::string snapshot_name = "");
int restore_state (std::string snapshot_name);
int save_template (std::string template_name, bool replace_existing = false);
int save_history (std::string snapshot_name = "");