Added some constraints.