Merging classes.