Added polyline support