Improve and test generated visitors and transformers