Add multimethod dispatch for type of visual.