Added shapeType to the object init