Added visitor for resolved types.