Added ByIndex to PermutationModule.