Merge gui classes