Added method to make creation of equality constraint explicit.