More base code added to polyline related classes.