Introduces visitor-dispatch function.