Add Shape class.