Improved dir() support for attributes in NodeWrapper (useful for IPython's tab completion).