Setup the line types and classes.