At the moment, when writing a class with suspend funs, it can't be exported to JS as it doesn't support coroutines. At the moment, the best solution I know of, is to write a proxy class that "remaps" all suspend funcs to promises. As this isn't ideal, is there a better way to do this?