Added saving / loading hooks in the editor.