Attempt to make resolver work for both transpiler versions.