Cleanup.
Added method to get the subgroup fixing a sequence.