Moved constraints to the framework library.