Migrated from the prosecutor branch of my earlywarning repository