Avoiding typescript bug.