Update TSAPI for mono support