Improve patternfinder output.