Added auto-save.