Update executionnode.h

make API more generic