CSPOM.constraints now returns an iterator, to prevent changes in the _constraints set.