Added an option to request document.