Call Function by Name Node

Interfaces could be an answer to this problem.

Have a look at this: