Provide greater type safety in the ast system.
Merge pull request #1326 from Microsoft/typeNodeBrands

Provide greater type safety in the ast system.