Combine duplicated classes