Contract Theory and Perspective-Taking