Added proper visitor interface.