Added support for `autosave` (Issue#14)