Merged some fixes in three.d.ts