Add 'classify_lines' for individual lines