Simplify interface between managed and script LSs.
Port scanner/syntax token work over.