Miner cleanup.