Improve headline and code detection.