Fixes to typescriptServices.d.ts. See TypeScript issue:
https://typescript.codeplex.com/workitem/994