Make sure Document can be set with string keys
Do not force ID on Document (for the moment?)