Fix ts() usage.