Add merge classes