Interface for the document storage
loads the current document definition
Returns undefined or the function to store the new document definition. To cover the case where a definition is switched between a readonly state and a writabel state.
Interface for the document storage