Optimal labor contracts with non-contractible human capital