passing naive DocumentParser impl