Changed namespaces to LM to improve debug mode binary size.
More improvements to build size.
More reductions to binary size.