Partial:serializable implementation of document class