Make Document a Node.