Ah, I do not see the UnrealHeaderTool being run after having made the change. That does explain why the generated.h isn’t being updated accordingly. Also, my project does have the dependency necessary for using it included.
It could be that I once by mistake editted the generated.h file; could this be responsible?