Added plotting support for line objects.