CSP: Process document.