Add Shape class specification