Added utility functions to constraints