Extraction

The [fog](/fog/fog) side of #2602.