Merging tag classes.