add support for arbitrary node-flags