Replaced namespace and key optional parameter of the vnode function by a
lookup in the given properties.