Mostly remnants of iOS porting, where some things were temporarily in typescript but became shared kotlin