Initial prototype for converting to a vnode