Changed TypeConstraint to Constraint.