removed AddConstraint() global function, renamed some methods to reflect that this currently works on ints