Add some constraints to the model