Added Factory Understanding of document.