Init document creation