Made 'profiling' of objects in a FoldingSet trait-based using FoldingSetTrait