Switch from vardiac arguments for traversal to passing in a
collection. Makes building on top of ogre much easier without too much
work conceptually. Also, starting the switch over the new line after
function style.