Setup all the visit methods it needs to use