Matching with Contracts (with John Hatfield), American Economic Review 95(4), 2005, 913-935.