Change cubicBezierCurve to CubicBezierCurve in all references to this object.