How to call function on AnimGraph C++?

I checked on 5.4.4 everything works without BlueprintFunctionLibrary. It sounds like a solution. I have two classes from AnimInstance, how do I use UBlueprintFunctionLibrary in them? For example I moved everything to .h since I can only send 1 screenshot