[support] how to restrict a node type