Hair analysis provides a historical record of cortisol levels in Cushing's syndrome.