Replace GatherTransforms with a visitor

Keeps the Node API cleaner.

@fluffyfreak, press the green button if you agree :)