The endomorphism ring of homogeneously decomposable separable groups