Use Globals.resolve library function.