Unified --export-hazard and --export-risk