Coded node type in an enum like fashion, instead of storing the modules
that cannot be copied with deepcopy, breaking plotting