Added parsing of polylines