Add line type and use that when applicable.