Toward beta cell replacement for diabetes