Initialize doc