fixes to work with 1.0 for TypeScript presentation.