Port from node_type to traits