Added directives of nodetree and nodeitem