Merge Contect classes