Designing Comprehensive Partnering Agreements