DPS: Sorting out contracts