Support both named constraints and "unnamed" constraints