Added support for hidden lines