Introduce Parser::get/setDocumentRootDirectory().