Modified viewers to use line attribute if available