Fix cppcheck warnings
Add parameter name to all constraint constructors.