Add shape class.
Add onedimensionalshape class.