Let's add custom grouping to the typeclass too.