Add Constraint2D classes.