Currently, the API for creating nodes isn't public, and the simplest way to create a node is to create a HEAD node. However, I merely want to distinguish between the nodes that are being added to the list in some basic way, and so I'm using 'kind' to do this.

Resetting it to it's real value is just to make sure that it gets released properly and doesn't leak anything.