Rename ti to ts to avoid titanium conflict