Adding BOM awareness in LTM parser.