First attempt at binding addConstraint.