Slight changes in an interface
Some errors in "restore" have been corrected