Updates for TypeScript changes bool->boolean.
Add more class wrappers to help port more of the samples.