Corrected Polyline::insert() and Polyline::remove().