Adding stub functions and wire-frame code for insert document.