Adding support for node_type definition.