Updated typescript definitions.