Fix: Move id into Doc.