Tweak the linked list stuff a little. Put it in a namespace.