Creating a new doc.