Add functools.wrap decorator to wrapper of inline_str functions in NodeABC