I started by converting stuff to TS, but that takes too long. Get rid of the remaining @ decorators by just calling them like a function instead.