Add createShapeCtx().