This is the other end, but there are some patch examples that should give you and idea on how to wrap an instance of a class in a user friendly node:
This is the other end, but there are some patch examples that should give you and idea on how to wrap an instance of a class in a user friendly node: