Some PHP MessDetector improvements.