Provisional classes: fix bug in patch.