Add constraints for dependencies