Added methods to hinge constraint.