Fix the merge of a new class with the classes defined in the collection