Don't pass class/interface visitors by ref