Add Document argument to factory Func in order to allow looking up object instead of instantiating a copy.