Add some constraints.