Remove unused items from GameState and Line.