Added setTable method to constraints