Tidy up pdtb parser API and docs