'Polyline' isn't a function.
Try correcting the name to match an existing function, or define a method or function named 'Polyline'.