Added jailbreak detection.