Updates for the latest TypeScript.