Refactoring AttributeFactory
Pack line number table.