Question about gamemode and defaults being specified

I was collaborating with someone and we were talking about creating our own custom functions to easily get a reference to our specific player controllers and player character BPs and I had a thought about specifying defaults within the Gamemode. Whenever you get the node for getPlayerCharacter or getPlayerController, where does it pull from exactly? My thought is that it would be nice for the gamemode to specify our classes we need as defaults then those nodes automatically pull those specific references from those defaults instead of getting the node then casting and the getting the reference from the cast. I was looking through the source code but as I am not very great at understanding C++ I was unsure of how it was working. Does anyone know this? I mean its not a big deal because we already made our custom functions for it, but wouldn’t that be a nice QoL thing?

When you point at a node the description will show you the “target” that the node resides in which is GameplayStatics.

You could make a BlueprintFunctionLibrary and do the GetPlayerCharacter and Casting here and call this function anywhere for your convenience.