The pathological effect of new-onset diabetes after kidney transplantation can be detected in the morphology of the renal allograft earlier , before the development of any sign of functional impairment .