Update naming of grouping strategies.
Add toDomain and toFactor for variable domain.