MISC: optimize parser and core library size.