How can I achieve this? currently saving documents with a null parent field fails.