Merge some classes