Ah, okay, `g.client` is the resource provider here. Had to see the code context.