Like eXi wrote it below: I’m not sure if this is mandatory but it is convenient when classes and functions are in the same Category.
Also, do you create/spawn MyClass instance somewhere? It is possible that the MyClass node is referencing to nothing? If it is UObject you might want to look at this:
If this is Actor you need to spawn it somewhere.