Gh408 - actions defined per node type

#408 
why is this global var?