Extracted common threat logic to Threat.cs.