Add title to document.