Fix type constraint.