Append document.