Weird hackfix around TS for now.