Added Group instance for Endomorphism.